package com.common.app.beopened

import com.alibaba.android.arouter.facade.annotation.Route
import com.common.app.core.RouterHub
import com.common.app.databinding.ActivityComingSoonBinding
import com.common.base.app.activity.BaseVBActivity
import com.common.base.utils.StatusBarUtils
import com.common.base.utils.ViewUtils

/**
 * 作者：sosou
 * <p>
 * 版本：1.0
 * <p>
 * 创建日期：2022/9/2
 * <p>
 * 描述：敬请期待页
 * <p>
 * 修订历史：
 */
@Route(path = RouterHub.ROUTER_BE_OPENED_ACTIVITY)
class ComingSoonActivity : BaseVBActivity<ActivityComingSoonBinding>() {

    override fun getViewBinding() = ActivityComingSoonBinding.inflate(layoutInflater)
    override fun isStatusBarForegroundBlack() = true
    override fun isStatusBarTranslate() = true

    override fun initViews() {
        super.initViews()
        StatusBarUtils.setStatusBarHeight(mViewBinding.statusView)
        StatusBarUtils.setStatusBarForegroundColor(this, true)
    }

    override fun initEvents() {
        super.initEvents()

        mViewBinding.headTitleIvBackTotal.setOnClickListener {
            //防止多次点击
            if (ViewUtils.isFastClick()) return@setOnClickListener
            finish()
        }
    }
}